package iluminados.cine.pe.dao;

import iluminados.cine.pe.dao.interfaces.CategoriaDAOInt;
import iluminados.cine.pe.excepcion.DAOExcepcion;
import iluminados.cine.pe.model.Categoria;

import java.util.Collection;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;

import javax.sql.DataSource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.EmptyResultDataAccessException;
import org.springframework.stereotype.Repository;

@Repository
public class CategoriaDAOImp implements CategoriaDAOInt{

	private DataSource dataSource;
	
	@Autowired
	public CategoriaDAOImp(DataSource dataSource) {
		super();
		this.dataSource = dataSource;
	}
	public Categoria actualizarCategoria(Categoria aux) throws DAOExcepcion {
		// TODO Auto-generated method stub
		return null;
	}

	public Collection<Categoria> buscarxNombre(String nombre)
			throws DAOExcepcion {
		// TODO Auto-generated method stub
		return null;
	}

	public void eliminarCategoria(int idCat) throws DAOExcepcion {
		// TODO Auto-generated method stub
		
	}

	public Categoria insertarCategoria(Categoria auxcate) throws DAOExcepcion {
		
		return null;		
	}

	public Categoria obtenerData(int idCat) throws DAOExcepcion {
		// TODO Auto-generated method stub
		return null;
	}

	public Collection<Categoria> volcarCategoria() throws DAOExcepcion {
		// TODO Auto-generated method stub
		return null;
	}

	

}
